Part Number Hot Search : 
HDM12864 EMTG96 SURCK 26000 74LVT623 SB3200 100FE MOC3083M
Product Description
Full Text Search
 

To Download S1C63666D Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  mf1356 - 01 t echnical manual cmos 4 - bit single chip microcomputer s1c63666 technical hardware s1c63666
notice no part of this material may be reproduced or duplicated in any form or by any means without the written permission of seiko epson. seiko epson reserves the right to make changes to this material without notice. seiko epson does not assume any liability of any kind arising out of any inaccuracies contained in this material or due to its application or use in any produc t or circuit and, further, there is no representation that this material is applicable to products requiring high level reliability, such as medical products. moreover, no license to any intellectual property rights is granted by implication or otherwise, and there is no representation or warranty that anything made in accordance with this material will be free from any patent or copyright infringement of a third party. this material or portions thereof may contain technology or the subject relating to strategic products under the control of the foreign exchange and foreign trade law of japan and may require an export license from the ministry of international trade and industry or other approval from another government agency. ? seiko epson corporation 2001, all rights reserved.
new configuration of product number starting april 1, 2001, the product number has been changed as listed below. please use the new product number when you place an order. for further information, please contact epson sales representative. devices s1 c 63158 f 0a01 packing specification specification package (d: die form; f: qfp) model number model name (c: microcomputer, digital products) product classification (s1: semiconductor) development tools s5u1 c 63000 a1 1 packing specification version (1: version 1) tool type (a1: assembler package) corresponding model number (63000: common to s1c63 family) tool classification (c: microcomputer use) product classification (s5u1: development tool for semiconductor products) 00 00

s1c63666 technical manual epson i contents c ontents chapter 1o utline ________________________________________________ 1 1.1 featur es ......................................................................................................... 1 1. 2b loc k di agram .............................................................................................. 2 1.3 pin layout diagram ..................................................................................... 3 1.4 pin description ............................................................................................. 4 1.5 mask option .................................................................................................. 5 chapter 2p o wer s upply and i nitial r eset ____________________________ 9 2.1 power supply ................................................................................................ 9 2.1.1 voltage regulator for osc1 oscillation cir cuit ......................................... 10 2.1.2 low-speed operation volta ge regul ator .................................................... 10 2.1.3 high-speed operati on voltage re gulator ................................................... 10 2.1.4 internal operating voltage v d1 ....................................................................................... 10 2.1.5 lcd system volta ge circuit ....................................................................... 10 2.1.6 halver mode and saving power ................................................................ 11 2.1.7 analog system power supply ..................................................................... 11 2.2 initial reset .................................................................................................. 12 2.2.1 reset terminal (reset) ............................................................................ 12 2.2.2 simultaneous high input to term inals k00? 03 ...................................... 13 2.2.3 internal register at initial r esetting ........................................................... 13 2.2.4 terminal settings at initial r esetting ......................................................... 14 2.3 test t erminal (test) ................................................................................... 14 chapter 3 cpu, rom, ram ________________________________________ 15 3. 1 cpu .............................................................................................................. 15 3.2 code ro m .................................................................................................... 15 3. 3 ram ............................................................................................................. 15 3.4 data ro m .................................................................................................... 16 chapter 4p eripheral c ircuits and o peration __________________________ 17 4.1 memory map ................................................................................................ 17 4.2 power contr ol .............................................................................................. 25 4.2.1 configuration of pow er supply cir cuit ...................................................... 25 4.2.2 power control procedure ........................................................................... 26 4.2.3 i/o memory for power control .................................................................. 27 4.2.4 progr amming notes ................................................................................... 29 4. 3w at ch do g ti me r ........................................................................................... 30 4.3.1 configuration of watchdog timer .............................................................. 30 4.3.2 interrupt function ...................................................................................... 30 4.3.3 i/o memory of w atchdog tim er ................................................................. 31 4.3.4 progr amming notes ................................................................................... 31 4.4 oscillation ci rc uit ....................................................................................... 32 4.4.1 configuration of oscillation ci r cuit .......................................................... 32 4.4.2 osc1 oscillation cir cuit ............................................................................ 32 4.4.3 osc3 oscillation cir cuit ............................................................................ 33 4. 4. 4 sw itc hi ng of ope ra ti ng vo lta ge ................................................................. 34 4.4.5 clock frequency and instruction execution tim e ....................................... 34 4.4.6 i/o memory of oscillation cir cuit .............................................................. 35 4.4.7 progr amming notes ................................................................................... 36
ii epson s1c63666 technical manual contents 4.5 input ports (k00? 03 and k10? 13) ......................................................... 37 4.5.1 configuration of input ports ..................................................................... 37 4.5.2 interrupt function ...................................................................................... 37 4.5.3 mask option ............................................................................................... 38 4.5.4 i/o memory of input ports ......................................................................... 39 4.5.5 progr amming notes ................................................................................... 41 4.6 output ports (r00?03 and r10?13) ....................................................... 42 4.6.1 configuration of output ports ................................................................... 42 4.6.2 mask option ............................................................................................... 42 4.6.3 high impedance control ............................................................................ 43 4.6.4 special output ............................................................................................ 43 4. 6. 5 i/o me mo ry of out put po rts ....................................................................... 45 4.6.6 progr amming notes ................................................................................... 47 4.7 i/o ports (p00?03 and p10?13) ............................................................. 48 4.7.1 configuration of i/o ports ........................................................................ 48 4.7.2 mask option ............................................................................................... 49 4.7.3 i/o control register s and input/out put mode ............................................ 49 4.7.4 pull-down during input mode ................................................................... 49 4.7.5 i/o memory of i/o ports ............................................................................ 50 4.7.6 progr amming not e ..................................................................................... 52 4.8 lcd driver (com0?om7, seg0?eg63) ............................................. 53 4.8.1 configuration of lcd driver .................................................................... 53 4.8.2 power supply for lcd driving .................................................................. 53 4.8.3 control of lcd display and drive waveform ........................................... 53 4.8.4 display memory ......................................................................................... 58 4.8.5 segment option .......................................................................................... 58 4.8.6 lcd contrast adjustment .......................................................................... 60 4.8.7 i/o memory of lcd d river ........................................................................ 61 4.8.8 progr amming not e ..................................................................................... 62 4.9 clock t imer .................................................................................................. 63 4.9.1 configuration of clock tim er ..................................................................... 63 4.9.2 data reading and hold function ................................................................ 63 4.9.3 interrupt function ...................................................................................... 64 4.9.4 i/o memory of clock tim er ........................................................................ 65 4.9.5 progr amming notes ................................................................................... 66 4.10 stopwatch ti mer ........................................................................................... 67 4.10.1 configuration of stopwatc h timer ........................................................... 67 4.10.2 counter and pr escaler ............................................................................. 67 4.10.3 capture buffer and hold func tion ............................................................ 68 4.10.4 stopwatch timer run /stop and r eset ................................................... 69 4.10.5 direct input function and ke y mask ........................................................ 69 4.10.6 interrupt function .................................................................................... 72 4.10.7 i/o memory of stopwatch timer .............................................................. 74 4.10.8 programm ing notes ................................................................................. 77 4.11 programm able time r ................................................................................... 78 4.11.1 configuration of programmabl e timer .................................................... 78 4.11.2 basic count oper ation ............................................................................. 79 4.11.3 setting the input clock ............................................................................. 80 4.11.4 event counter mode (timer 0) ................................................................. 80 4.11.5 16-bit timer (timer 0 + timer 1) .............................................................. 81 4.11.6 interrupt function .................................................................................... 82 4.11.7 control of t out output .......................................................................... 82 4.11.8 transfer rate setting for serial in terface ................................................ 83 4.11.9 i/o memory of pr ogrammable timer ....................................................... 84 4.11.10 programm ing notes ............................................................................... 89
s1c63666 technical manual epson iii contents 4.12 serial interface (sin, sout , sclk, srd y) ................................................ 90 4.12.1 configuration of serial interface ............................................................ 90 4.12.2 mask option ............................................................................................. 91 4.12.3 master mode and slave mode of serial interface .................................... 91 4.12.4 data input/output and interrupt f unction ............................................... 92 4.12.5 i/o memory of seri al int erface ................................................................ 95 4.12.6 program ming notes ................................................................................. 98 4.13 sound g enerator .......................................................................................... 99 4.13.1 configuration of sound gener ator .......................................................... 99 4.13.2 control of b uzzer output .......................................................................... 99 4.13.3 setting of buzzer frequency and sound le vel .......................................... 100 4. 13. 4 di g ita l en vel ope ..................................................................................... 101 4.13.5 one-shot output ...................................................................................... 102 4.13.6 i/o memory of sound gener ator ............................................................. 103 4.13.7 program ming notes ................................................................................ 105 4.14 integer multiplier ........................................................................................ 106 4.14.1 configuration of inte g er multiplier ........................................................ 106 4.14.2 multiplication m ode ............................................................................... 106 4.14.3 div ision mode ......................................................................................... 107 4.14.4 execution cycle ....................................................................................... 108 4.14.5 i/o memory of in teger multip lier ........................................................... 109 4.14.6 progr amming note .................................................................................. 110 4.15 r/f con verter ............................................................................................... 111 4.15.1 configuration of r/f conve rter ............................................................... 111 4.15.2 connection terminals and cr oscillation circui t .................................. 111 4.15.3 operation of r/f conversion ................................................................... 113 4.15.4 interrupt function ................................................................................... 116 4.15.5 i/o memory of r/f con verter .................................................................. 118 4.15.6 program ming notes ................................................................................ 121 4.16 analog co mparator .................................................................................... 122 4.16.1 configuration of analo g comparator ..................................................... 122 4.16.2 analog compar ator operation ................................................................ 122 4.16.3 i/o memory of analog compar ator ........................................................ 123 4.16.4 program ming notes ................................................................................ 123 4.17 svd (supply voltage detection) cir cuit ..................................................... 124 4.17.1 configuration of svd circuit ................................................................. 124 4.17.2 mask option ............................................................................................ 124 4.17.3 svd oper ation ........................................................................................ 125 4.17.4 i/o memory of svd cir cuit ..................................................................... 125 4.17.5 program ming notes ................................................................................ 126 4.18 interrupt and halt .................................................................................... 127 4.18.1 interrupt factor ....................................................................................... 129 4.18.2 interrupt mask ........................................................................................ 130 4.18.3 interrupt vector ...................................................................................... 130 4.18.4 i/o memo ry of interrupt ......................................................................... 131 4.18.5 program ming notes ................................................................................ 133 chapter 5s ummary of n o tes ______________________________________ 134 5.1 notes for low curre nt consump tion .......................................................... 134 5.2 summary of notes by function ................................................................... 135 5.3 precautions on mounting ........................................................................... 139 chapter 6b asic e xternal w iring d iagram ___________________________ 141
iv epson s1c63666 technical manual contents chapter 7e lectrical c haracteristics _______________________________ 142 7.1 absolute maximum rating .......................................................................... 142 7.2 recommended operati ng conditi ons ......................................................... 142 7.3 dc char acteristics ..................................................................................... 142 7.4 analog circuit characteristi cs and power current consumptio n ............ 143 7.5 oscillation char acteristics ......................................................................... 144 7.6 serial interface ac characteristics ........................................................... 146 7.7 timing chart ............................................................................................... 147 7.8 r/f converter characteristics ..................................................................... 147 chapter 8p a ckage _______________________________________________ 148 8.1 plastic pack age ........................................................................................... 148 8.2 ceramic packag e for test samples ............................................................. 149 chapter 9p ad l ay out ____________________________________________ 150 9.1 diagram of p ad layout ............................................................................... 150 9.2 pad coordi nates .......................................................................................... 151 a ppendix s5u1c63000p1 m anual (p eripheral c ircuit b o ard for s1c63666) __________________ 152 a.1 names and functions of each p art ............................................................ 152 a.2 connecting to the ta rg et system ................................................................ 155 a.3 usage precautions ...................................................................................... 157 a.3.1 operational precautions .......................................................................... 157 a.3.2 differences with the actual ic ................................................................. 157
s1c63666 technical manual epson 1 chapter 1: outline chapter 1o utline the s1c63666 is a microcomputer which has a high-performance 4-bit cpu s1c63000 as the core cpu, rom (16,384 words 13 bits), ram (5,120 words 4 bits), multiply-divide circuit, serial interface, watchdog timer, programmable timer, time base counters (2 systems), an lcd driver that can drive a maximum 64 segments 8 commons, sound generator and r/f converter built-in. the s1c63666 features low current consumption, this makes it suitable for battery driven portable equipment with r/f converter. 1.1 features osc1 oscillation circui t ...................... 32.768 khz (typ.) crystal oscillation circuit osc3 oscillation circui t ...................... 4 mhz (max.) ceramic or 1.4 mhz (typ.) cr oscillation circuit ( ? 1) i nst r uc ti on set ..................................... basic instruction: 46 types (411 instructions with all) addressing mode: 8 types instruction execution time ................... during operation at 32.768 khz: 61 ?ec 122 ?ec 183 ?ec during operation at 4 mhz: 0.5 ?ec 1 ?ec 1.5 ?ec r om capac ity ..................................... code rom: 16,384 words 13 bits data rom: 4,096 words 4 bits ram capacity ...................................... data memory: 5,120 words 4 bits display memory: 128 words 4 bits input por t ............................................. 8 bits (pull-down resistors may be supplemented ? 1) out put por t .......................................... 8 bits (it is possible to switch the 2 bits to special output ? 2) i/o por t ................................................ 8 b its ( it is possible to switch the 4 bits to serial i/f input/output ? 2) ser ia l in te rf ace .................................... 1 port (8-bit clock synchronous system) lcd driv er ........................................... 64 segments 4, 5 or 8 commons ( ? 2) time base counter .............................. clock timer stopwatch timer (1/1000 sec, with direct key input function) programmable timer ........................... 8 bits 3 ch. or 16 bits 1 ch. + 8 bits 1 ch. ( ? 2) w atchdog tim er ................................... built-in sound gener ator ................................. w ith envelope and 1-shot output functions r /f con ve r ter ....................................... 2 ch., cr oscillation type, 20-bit counter multiply-divi de circui t .......................... 8-bit accumulator 1 ch. multiplication: 8 bits 8 bits 16-bit product division: 16 bits 8 bits 8-bit quotient and 8-bit remainder analog compar ator ............................. 1 ch. supply voltage detection (svd) circuit . 4 criteria voltages are selectable from 8 types (1.85 to 2.90 v ? 1) (external voltage detection is possible ? 1) e xte r nal in te rr upt ................................ input port interrupt: 2 systems in te r nal in te rr upt ................................. clock timer interrupt: 4 systems stopwatch timer interrupt: 2 systems programmable timer interrupt: 2 systems serial interface interrupt: 1 system r/f converter interrupt: 1 system po w er supply v oltage .......................... 2.4 to 3.6 v: max. 4 mhz operation in normal mode 2.4 to 3.6 v: 32 khz operation in halver mode operating temper ature r ange ............. -20 to 70? current consumpti on (typ .) ................ low-speed operation (osc1 = 32 khz crystal oscillation): during halt 3.0 v (lcd on, halver mode) 0.65 ? during operation 3.0 v (lcd on, halver mode) 2.5 ? high-speed operation (osc3): during operation 3.0 v (lcd on) 1 ma pa ckage .............................................. qfp20-144pin (plastic) or chip ? 1: can be selected with mask option ? 2: can be selected with software
2 epson s1c63666 technical manual chapter 1: outline 1.2 block diagram fi g. 1.2.1 block diagram osc1 osc2 osc3 osc4 com0? seg0?3 v dd v dda v c1 3 v d1 2 v osc ca?d v ss v ssa svd k00?03 k10?13 test sen0, sen1 ref rfin rfout reset r00?03 r10?13 p00?03 p10?13 bz bz cmpp0 cmpm0 core cpu s1c63000 rom 16,384 words 13 bits system reset control interrupt generator osc ram 5,120 words 4 bits data rom 4,096 words 4 bits lcd driver 64 seg 8 com power controller svd sound generator analog comparator clock timer stopwatch timer programmable timer/counter input port r/f converter serial interface i/o port output port
s1c63666 technical manual epson 3 chapter 1: outline 1.3 pin layout diagram qfp20-144pin 73 108 37 72 index 36 1 144 109 no. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 no. 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 no. 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 no. 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 pin name n.c. com0 com1 com2 com3 ca cb v c1 v c2 v c3 cmpp0 cmpm0 svd v ssa rfout rfin ref sen0 sen1 v dda cc cd v d2 v dd v osc osc1 osc2 v d1 osc3 osc4 v ss test reset n.c. n.c. n.c. pin name n.c. seg32 seg33 seg34 seg35 seg36 seg37 seg38 seg39 seg40 seg41 seg42 seg43 seg44 seg45 seg46 seg47 seg48 seg49 seg50 seg51 seg52 seg53 seg54 seg55 seg56 seg57 seg58 seg59 seg60 seg61 seg62 seg63 n.c. n.c. n.c. pin name n.c. n.c. n.c. com4 com5 com6 com7 v dd k00 k01 k02 k03 k10 k11 k12 k13 p00 p01 p02 p03 p10 p11 p12 p13 r00 r01 r02 r03 r10 r11 r12 r13 bz bz v ss n.c. pin name n.c. seg0 seg1 seg2 seg3 seg4 seg5 seg6 seg7 seg8 seg9 seg10 seg11 seg12 seg13 seg14 seg15 seg16 seg17 seg18 seg19 seg20 seg21 seg22 seg23 seg24 seg25 seg26 seg27 seg28 seg29 seg30 seg31 n.c. n.c. n.c. n.c. : no connection fi g. 1.3.1 pin layout diagram (qfp20-144pin)
4 epson s1c63666 technical manual chapter 1: outline 1.4 pin description t able 1.4.1 pin description pin name v dd v ss v dda v ssa v d1 v d2 v osc v c1 ? c3 ca, cb cc, cd osc1 osc2 osc3 osc4 k00?03 k10?13 p00 p01 p02 p03 p10?13 r00 r01 r02 r03 r10?13 com0?om7 seg0?eg63 sen0 sen1 ref rfin rfout cmpp0 cmpm0 bz bz svd reset test function power (+) supply pin power (? supply pin analog system power (+) supply pin (=v dd ) analog system power (? supply (=v ss ) internal logic system regulated voltage output pin 1/2v dd voltage halver output pin oscillation system regulated voltage output pin lcd system power supply pin lcd system voltage booster capacitor connecting pin voltage halver capacitor connecting pin crystal oscillation input pin crystal oscillation output pin ceramic or cr oscillation input pin (selected by mask option) ceramic or cr oscillation output pin (selected by mask option) input port pins input port pins i/o port or serial i/f data input pin (selected by software) i/o port or serial i/f data output pin (selected by software) i/o port or serial i/f clock i/o pin (selected by software) i/o port or serial i/f ready signal output pin (selected by software) i/o port pins output port pin output port pin output port ot tout output pin (selected by software) output port or fout output pin (selected by software) output port pins lcd common output pin (1/4, 1/5 or 1/8 duty is selectable by software) lcd segment output pin r/f converter sensor 0 cr oscillation output pin r/f converter sensor 1 cr oscillation output pin r/f converter reference resistor cr oscillation output pin r/f converter cr oscillation input pin r/f converter oscillation frequency output pin analog comparator non-inverted input pin analog comparator inverted input pin sound output pin sound inverted output pin svd external voltage input pin initial reset input pin testing input pin i/o i o i o i i i/o i/o i/o i/o i/o o o o o o o o o o o i o i i o o i i i pin no. 24 31 20 14 28 23 25 8?0 6, 7 21, 22 26 27 29 30 81?4 85?8 89 90 91 92 93?6 97 98 99 100 101?04 2?, 76?9 110?41, 38?9 18 19 17 16 15 11 12 105 106 13 33 32
s1c63666 technical manual epson 5 chapter 1: outline 1.5 mask option mask options shown below are provided for the s1c63666. several hardware specifications are prepared in each mask option, and one of them can be selected according to the application. the function option generator winfog and segment option generator winsog, that have been prepared as the development software tool of s1c63666, are used for this selection. mask pattern of the ic is finally generated based on the data created by winfog and winsog. refer to the "s5u1c63000a manual" for winfog and winsog. (1) osc3 oscillation circuit the osc3 oscillator type can be selected from ceramic oscillation, cr oscillation (external r) and cr oscillation (built-in r). refer to section 4.4.3, "osc3 oscillation circuit", for details. (2) external reset by simultaneous high input to the input port (k00?03) this function resets the ic when several keys are pressed simultaneously. the mask option is used to select whether this function is used or not. further when the function is used, a combination of the input ports (k00?03), which are connected to the keys to be pressed simultaneously, can be selected. refer to section 2.2.2, "simultaneous high input to terminals k00?03", for details. (3) time authorize circuit for the simultaneous high input reset function when using the external reset function (shown in 2 above), using the time authorize circuit or not can be selected by mask option. the reset function works only when the input time of simultaneous low is more than the rule time if the time authorize circuit is being used. refer to section 2.2.2, "simultaneous high input to terminals k00?03", for details. (4) input port pull-down resistor the mask option is used to select whether the pull-down resistor is supplemented to the input ports or not. it is possible to select for each bit of the input ports. refer to section 4.5.3, "mask option", for details. (5) output specification of the output port either complementary output or p-channel open drain output can be selected as the output specifica- tion for the output ports r00?03 and r10?13. the selection is done in 1-bit units. refer to section 4.6.2, "mask option", for details. (6) output specification of the i/o port for the output specification when the i/o ports p00?03 and p10?13 are in the output mode, either complementary output or p-channel open drain output can be selected in 1-bit units. refer to section 4.7.2, "mask option", for details. (7) i/o port pull-down resistor the mask option is used to select whether the pull-down resistor working in the input mode is supplemented to the i/o ports or not. it is possible to select for each bit of the input ports. refer to section 4.7.2, "mask option", for details. (8) synchronous clock polarity in the serial interface the polarity of the synchronous clock sclk and the srdy signal in slave mode of the serial interface is selected by mask option. either positive polarity or negative polarity can be selected. refer to section 4.12.2, "mask option", for details.
6 epson s1c63666 technical manual chapter 1: outline (9) external voltage detection of the svd circuit external voltage (svd terminal voltage) detection can be selected in addition to supply voltage (v dd terminal? ss terminal) detection. refer to section 4.17.2, "mask option", for details. (10) svd voltage four criteria voltages for supply voltage detection can be selected from eight voltages. refer to section 4.17.2, "mask option", for details. (11) lcd drive power either the internal power supply or an external power supply can be selected for driving lcd. refer to section 4.8.2, "lcd drive power", for details. (12) lcd segment specification the display memory can be allocated to the optional seg terminal. it is also possible to set the optional seg terminal for dc output. refer to section 4.8.5, "segment option", for details.


▲Up To Search▲   

 
Price & Availability of S1C63666D

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X